<div class="content-white p1000">
    <div class="operaWrap">
        日期：<nz-date-picker [(ngModel)]="searchParam.dtWorkdate" nzAllowClear nzPlaceHolder="请选择日期"></nz-date-picker>
        &nbsp;&nbsp;&nbsp;
        <app-farmreact #farmReact></app-farmreact>
        状态：<nz-select style="width:150px" [(ngModel)]="searchParam.vcStatus">
            <nz-option *ngFor="let data of statusSelect" [nzValue]="data.opValue" [nzLabel]="data.opName">
                {{data.opName}}
            </nz-option>
        </nz-select>
        &nbsp;&nbsp;&nbsp;
        <button nz-button nzType="default" (click)="search()"><i nz-icon nzType="search"></i>查询</button>
    </div>
    <div class="operaWrap">
        <button *ngIf="typeName === 'seg'" nz-button nzType="default" (click)="modalShow('approve')"><i nz-icon
                nzType="edit"></i>审批</button>
        <button *ngIf="typeName === 'station' " nz-button nzType="default" (click)="modalShow('tbModal')"><i nz-icon
                nzType="edit"></i>提报</button>
    </div>
</div>

<app-table #tcp [tableId]="'securityProblem'" [tableScroll]="tableScroll" [headData]="headData" [plainData]="plainData">
</app-table>

<app-operamodal *ngIf="operaList.addModal" [popTitle]="'新增'" [operaType]="'add'" [apiUrl]="apiUrl.add"
    (closeModal)="modalHide('addModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.delModal" [popTitle]="'删除'" [operaType]="'del'" [apiUrl]="apiUrl.del"
    [responseData]="tempData" (closeModal)="modalHide('delModal')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.approve" [popTitle]="'审批'" [operaType]="'approve'" [apiUrl]="apiUrl.approve"
    [responseData]="tempData" (closeModal)="modalHide('approve')" (reloadData)="loadList()">
</app-operamodal>
<app-operamodal *ngIf="operaList.tbModal" [popTitle]="'提报'" [operaType]="'tb'" [apiUrl]="apiUrl.tb"
    [responseData]="tempData" (closeModal)="modalHide('tbModal')" (reloadData)="loadList()">
</app-operamodal>